import {configureStore} from "@reduxjs/toolkit";
import userInfoReducer from "@/store/modules/user.jsx";
import materialInfoReducer from "@/store/modules/material.jsx";
import equipmentInfoReducer from "@/store/modules/equipment.jsx";


const store=configureStore({
    reducer:{
        // 一个modules文件夹中得.js，一般就一个，多个，下面那就有多个
        // 一行代表一个文件
        userInfo:userInfoReducer,
        materialInfo:materialInfoReducer,
        equipmentInfo:equipmentInfoReducer,


    }
})

export default store;